/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GlobalTopPanel.java
 *
 * Created on Apr 27, 2012, 3:56:58 PM
 */

package GUI;

import java.awt.Dimension;
import main.MainFormApp;

/**
 *
 * @author Hnmtuan
 */
public class GlobalTopPanel extends javax.swing.JPanel {

    public static final int HEIGHT_SIZE = 80;

    /** Creates new form GlobalTopPanel */
    public GlobalTopPanel() {
        initComponents();
        setPreferredSize(new Dimension(MainFormApp.WIDTH_SIZE, HEIGHT_SIZE));
        //setBackground(Color.BLUE);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jlbImageHeader = new javax.swing.JLabel();

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance().getContext().getResourceMap(GlobalTopPanel.class);
        jlbImageHeader.setIcon(resourceMap.getIcon("jlbImageHeader.icon")); // NOI18N
        jlbImageHeader.setName("jlbImageHeader"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jlbImageHeader)
                .addContainerGap(59, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jlbImageHeader)
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jlbImageHeader;
    // End of variables declaration//GEN-END:variables

}
